#include<bits/stdc++.h>
using namespace std;
int n,k;
int main()
{
	freopen("soft.in","r",stdin);
	freopen("soft.out","w",stdout);
	scanf("%d%d",&n,&k);
	while(k--) puts("1");
	fclose(stdin);fclose(stdout);
	return 0;
}
